import request from '@/utils/request'

export function getclustersparingconf(params) {
    return request({
        url: 'api/timefieldmatching/page',
        method: 'get',
        params
    })
}
export function del(ids) {
    return request({
        url: 'api/timefieldmatching',
        method: 'put',
        data: ids
    })
}
export function edit(data) {
    return request({
        url: 'api/timefieldmatching',
        method: 'put',
        data
    })
}
export function add(data) {
    return request({
        url: 'api/timefieldmatching',
        method: 'post',
        data
    })
}


export default { getclustersparingconf, del, edit,add }
